Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Function |from_option_bool

json/value::|from_option_bool


Usage

|from_option_bool<B>(value)

Generics

◻ B: ToBool

Parameters

↳ value: Option<B>

Return

Json


Convert an optional bool-convertible value into a JSON boolean, or null if value is none.